package com.ssy.lingxi.order.model.vo.basic.response;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 支付方式查询返回
 * @author 万宁
 * @version 2.0.0
 * @date 2021-07-27
 */
public class OrderPayTypeDetailVO implements Serializable {
    private static final long serialVersionUID = -6499770020525157686L;

    public OrderPayTypeDetailVO() {
        this.fundMode = 0;
        this.payType = 0;
        this.payTypeName = "";
        this.payChannels = new ArrayList<>();
    }

    public OrderPayTypeDetailVO(Integer fundMode, Integer payType, String payTypeName, List<OrderPayChannelDetailVO> payChannels) {
        this.fundMode = fundMode;
        this.payType = payType;
        this.payTypeName = payTypeName;
        this.payChannels = payChannels;
    }

    /**
     * 资金归集模式，1-平台代收，2-会员直接到账
     */
    private Integer fundMode;

    /**
     * 支付方式枚举
     */
    private Integer payType;

    /**
     * 支付方式名称
     */
    private String payTypeName;

    /**
     * 关联的支付渠道列表
     */
    private List<OrderPayChannelDetailVO> payChannels;

    public Integer getFundMode() {
        return fundMode;
    }

    public void setFundMode(Integer fundMode) {
        this.fundMode = fundMode;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public String getPayTypeName() {
        return payTypeName;
    }

    public void setPayTypeName(String payTypeName) {
        this.payTypeName = payTypeName;
    }

    public List<OrderPayChannelDetailVO> getPayChannels() {
        return payChannels;
    }

    public void setPayChannels(List<OrderPayChannelDetailVO> payChannels) {
        this.payChannels = payChannels;
    }
}
